package com.unlcn.ils.crsc.dao.mapper.crsc;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.unlcn.ils.crsc.dao.model.crsc.CrscOtd;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 抓取数据详情表 Mapper 接口
 * </p>
 *
 * @author qichao
 * @since 2018-04-29
 */
public interface CrscOtdMapper extends BaseMapper<CrscOtd> {

    /**
     * 批量添加
     * @param crscOtds
     */
    void insertBatch(@Param("crscotds")List<CrscOtd> crscOtds);

    /**
     * 根据Vin查询最新的记录
     * @param vinList
     * @return
     */
    List<CrscOtd> selectOtdByVin(List<String> vinList);

}
